//
//  CLIndexModel.h
//  chanlin
//
//  Created by Ryan on 14-11-2.
//  Copyright (c) 2014年 chanlin. All rights reserved.
//

#import "CLDataModel.h"
#import "CLList.h"
#import "CLList+Oper.h"

@interface CLIndexModel : CLDataModel

@property (nonatomic,strong) NSMutableDictionary *pageNums;

SGR_SINGLETION(CLIndexModel)

- (void)getListWithCategroy:(NSDictionary *)category
                   withPage:(int) num
                   lastList:(CLList *)clList
                    uiBlock:(void (^)(BOOL success,id responseObj,NSString *message) )block;

- (void)getmagzineList:(NSDictionary *)category
               uiBlock:(void (^)(BOOL success,id responseObj,NSString *message) )block;

-(void)getSearchListWithKeyWord:(NSString *)keyWord
                        pageNum:(NSInteger)num
                        lsatObj:(CLList *)clList
                        uiBlock:(void (^)(BOOL success,id responseObj,NSString *message) )block;

- (void)deleteSearch;

@end
